package org.cuatrovientos.EMPIRE_FLEET;

import static org.junit.Assert.*;

import org.junit.Test;

public class FleetTest {

	/***
     * Test empty fleet
     */
    @Test
    public void constructorTest() {
            Fleet oneFleet = new Fleet();
            assertTrue("Fleet is nothing",oneFleet.isEmpty());
            
    }

    @Test
    public void addFleetTest(){
            Fleet oneFleet = new Fleet();
            oneFleet.setNameComander("Tyler Durden");;
            for(int i =0;i< 8; i++ ){
                    oneFleet.setFleet(3, "Fighter");
            }
            assertTrue("Contains 8 space ships",8==oneFleet.size());
    }

}
